package com.shop.shoporder.entity.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Cart implements Serializable {
    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getGuigeName() {
        return guigeName;
    }

    public void setGuigeName(String guigeName) {
        this.guigeName = guigeName;
    }

    public String getGuigePic() {
        return guigePic;
    }

    public void setGuigePic(String guigePic) {
        this.guigePic = guigePic;
    }

    private String productName;
    private String guigeName;
    private String guigePic;

    public String getUsernoName() {
        return usernoName;
    }

    public void setUsernoName(String usernoName) {
        this.usernoName = usernoName;
    }

    private String usernoName;
    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date commentTime;
    private Integer cartId;

    private Integer productId;

    private Integer guigeId;

    @Override
    public String toString() {
        return "Cart{" +
                "cartId=" + cartId +
                ", productId=" + productId +
                ", guigeId=" + guigeId +
                ", shopId=" + shopId +
                ", usernoId=" + usernoId +
                ", orderNo='" + orderNo + '\'' +
                ", cartStatus=" + cartStatus +
                ", productCount=" + productCount +
                ", isDelete=" + isDelete +
                ", logisticsType=" + logisticsType +
                ", logisticalNo='" + logisticalNo + '\'' +
                ", cartTime=" + cartTime +
                ", operationId=" + operationId +
                ", operationTime=" + operationTime +
                ", remark='" + remark + '\'' +
                ", remark1='" + remark1 + '\'' +
                ", remark2='" + remark2 + '\'' +
                ", remark3=" + remark3 +
                ", remark4=" + remark4 +
                '}';
    }

    private Integer shopId;

    private Integer usernoId;

    private String orderNo;

    private Integer cartStatus;

    private Integer productCount;

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    private Integer isDelete;

    private Integer settlement;

    private Integer logisticsType;

    private String logisticalNo;

    private Date cartTime;

    private Integer operationId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date operationTime;

    private String remark;

    private String remark1;

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    private String comment;
    private String remark2;

    private Integer remark3;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date remark4;

    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getGuigeId() {
        return guigeId;
    }

    public void setGuigeId(Integer guigeId) {
        this.guigeId = guigeId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getUsernoId() {
        return usernoId;
    }

    public void setUsernoId(Integer usernoId) {
        this.usernoId = usernoId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public Integer getCartStatus() {
        return cartStatus;
    }

    public void setCartStatus(Integer cartStatus) {
        this.cartStatus = cartStatus;
    }

    public Integer getProductCount() {
        return productCount;
    }

    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    public Integer getLogisticsType() {
        return logisticsType;
    }

    public void setLogisticsType(Integer logisticsType) {
        this.logisticsType = logisticsType;
    }

    public String getLogisticalNo() {
        return logisticalNo;
    }

    public void setLogisticalNo(String logisticalNo) {
        this.logisticalNo = logisticalNo == null ? null : logisticalNo.trim();
    }

    public Date getCartTime() {
        return cartTime;
    }

    public void setCartTime(Date cartTime) {
        this.cartTime = cartTime;
    }

    public Integer getOperationId() {
        return operationId;
    }

    public void setOperationId(Integer operationId) {
        this.operationId = operationId;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1 == null ? null : remark1.trim();
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2 == null ? null : remark2.trim();
    }

    public Integer getRemark3() {
        return remark3;
    }

    public void setRemark3(Integer remark3) {
        this.remark3 = remark3;
    }

    public Date getRemark4() {
        return remark4;
    }

    public void setRemark4(Date remark4) {
        this.remark4 = remark4;
    }

    public Integer getSettlement() {
        return settlement;
    }

    public void setSettlement(Integer settlement) {
        this.settlement = settlement;
    }
}